<?php
include 'Config.php';
include 'DB.php';
$fetch = new Fetch($config);
// 没数据强制忽视错误
@$id = $_GET['user_id'];
$fetch->delByID('user', 'user_id', $id);
Header("Location:../View/user-manage.php");
if (!isset($_POST)) return;
// 没数据强制忽视错误
@$fetch->insertUserData('user', $_POST);
Header("Location:../View/user-manage.php");
